<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<table class="table table-bordered table-hover">
	<thead>
		<tr>
			<th style="padding:3px;width:33%">字典名称</th>
			<th style="padding:3px;width:33%">字典代码</th>
			<th style="padding:3px;width:33%">字典类型</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td style="padding:3px;width:33%">${entity.dicName }</td>
			<td style="padding:3px;width:33%">${entity.dicnCode }</td>
			<c:if test="${entity.dicnType=='1'}">
			<td style="padding:3px;width:33%">系统值</td>
			</c:if>
			<c:if test="${entity.dicnType=='0'}">
			<td style="padding:3px;width:33%">自定义</td>
			</c:if>
		</tr>	
	</tbody>
</table>
<table class="table table-bordered table-hover">
	<thead>
		<tr>
			<th style="padding:3px;width:33%">字典值名称</th>
			<th style="padding:3px;width:33%">字典值</th>
			<th style="padding:3px;width:33%">排序</th>

		</tr>
	</thead>
	<tbody>
		<c:forEach items="${entity.dicvs}" var="dicv">
			<tr>
				<td style="padding:3px;width:33%">${dicv.dicvText}</td>
				<td style="padding:3px;width:33%">${dicv.dicValue}</td>
				<td style="padding:3px;width:33%">${dicv.dicvOrder}</td>
			</tr>
		</c:forEach>
	</tbody>
</table>